project(CommonProces)
cmake_minimum_required(VERSION 3.5.1)
set(CMAKE_SYSTEM_NAME Linux)
add_definitions("-Wall -Os -fno-strict-aliasing")

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)

set(IpcCodePath ${PROJECT_SOURCE_DIR}/../IPC_Code)
include(${IpcCodePath}/ProDefine/CMakeLists.txt)

include_directories(${IpcCodePath}/OpenSourceCode/OSCCJSON)
include_directories(${IpcCodePath}/OpenSourceCode/OSCIniConfig)
include_directories(${IpcCodePath}/InCommon)
include_directories(${IpcCodePath}/InCommon/InComIniConfig)
include_directories(${IpcCodePath}/InCommon/InComDevInfo)
include_directories(${IpcCodePath}/InCommon/InComFileOperation)
include_directories(${IpcCodePath}/InCommon/InComStringHandling)

aux_source_directory(${IpcCodePath}/OpenSourceCode/OSCCJSON src_osc_json)
aux_source_directory(${IpcCodePath}/OpenSourceCode/OSCIniConfig src_osc_ini)
aux_source_directory(${IpcCodePath}/InCommon/InComIniConfig src_com_ini)
aux_source_directory(${IpcCodePath}/InCommon/InComDevInfo src_com_info)
aux_source_directory(${IpcCodePath}/InCommon/InComFileOperation src_com_file)
aux_source_directory(${IpcCodePath}/InCommon/InComStringHandling src_com_str)

#add_subdirectory(ToolSetDevInfo)
